<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function __autoload($className) 
{
    $classPath = explode('_', $className) ;
    $file = 'app' ;
    foreach ($classPath as $key => $value)
    {
        $file .= '/' . $value ;
    }
    $file = strtolower($file) ;
    $file .= '.php' ;   
       /** if (file_exists($file) == true) {

                return false;

        }**/

        require_once ($file);

}


?>
